package com.liangsui.mss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liangsui.mss.domain.Dept;
import com.liangsui.mss.dto.DeptDto;
import com.liangsui.mss.vo.DataGridView;

import java.util.List;

/**
* @author zhang
* @description 针对表【sys_dept(部门/科室表)】的数据库操作Service
* @createDate 2022-12-05 15:54:42
*/
public interface DeptService extends IService<Dept> {

    DataGridView listPage(DeptDto deptDto);

    List<Dept> listDept();

    int addDept(DeptDto deptDto);

    int updateDept(DeptDto deptDto);

    Dept getDeptById(Long dictId);

    int deleteDeptByIds(Long[] dictIds);

    List<Dept> listDeptByDeptIds(List<Long> deptIds);

    void updateDeptRegNumber(Long deptId, Integer regNumber);
}
